const Service = require('../../core/service/ApiService');
const {Transactional} = require('../../../plugin/egg-sequelize-transactional');

class InternalService extends Service {

    @Transactional()
    async resetAgedSvcStatus(){
        await this.service.internal.dao.resetAgedSvcStatus();
    }

    @Transactional()
    async resetSvcStaffCurMonthSvcCnt(){
        await this.service.internal.dao.resetSvcStaffCurMonthSvcCnt();
    }

}

module.exports = InternalService;
